# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=btop
pkgver=1.2.13
pkgrel=2
pkgdesc="Resource monitor"
url="https://github.com/aristocratos/btop"
license="Apache-2.0"
arch="all"
makedepends="cmd:fmt"
source="https://github.com/aristocratos/btop/archive/v$pkgver/btop-$pkgver.tar.gz
	lfs64.patch
	"
options="!check" # no test suite

build() {
	ADDFLAGS="-fno-ipa-cp" make
}

package() {
	make install DESTDIR="$pkgdir" PREFIX=/usr
}

sha512sums="
324e572d43e57e5e65e646aa743f7730e6d535fdc52e848aeb55d60c8d73945850c5b89fe0b541e98495ddf2bae71427a6ec8fe8a495b41cef885c535d01019b  btop-1.2.13.tar.gz
0a8a0f45eecf5564ef691a58a20bc11f8599dafa4854186f04c84c6c8efee05c4585f820354922dc422d06c9e06479ff05a275a9eb1608bfa0d1d4c77b2200ce  lfs64.patch
"
